package action.board;

import java.sql.SQLException;
import java.util.ArrayList;

import service.BoardService;
import vo.BoardVO;

public class BoardReplyAction
{
	private ArrayList<BoardVO> list;
	private BoardVO bvo;
	private BoardService boardService;
	private int page;
	
	public ArrayList<BoardVO> getList() {
		return list;
	}
	public BoardVO getBvo() {
		return bvo;
	}
	public void setBvo(BoardVO bvo) {
		this.bvo = bvo;
	}
	public void setList(ArrayList<BoardVO> list) {
		this.list = list;
	}
	public BoardService getBoardService() {
		return boardService;
	}
	public void setBoardService(BoardService boardService) {
		this.boardService = boardService;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public String execute() throws SQLException
	{
		boardService.reply(bvo);
		return "success";
	}
}